import { MutableRefObject } from "react";

export type IAction = 'create' | 'edit' | 'delete';

import { User } from "@/type/index"

export interface IModalProps {
    myRef: MutableRefObject<{ open: (type: IAction, data?: User.UserItem) => void } | undefined>
    update: () => void
}